﻿<UserControl x:Class="P2.Cuberry.Modules.Framework.ApplicationConfigurator.ApplicationConfiguratorFindView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"    
    Margin="0" MinWidth="230" Width="Auto" MinHeight="230" Height="250">

    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/P2.Cuberry.Framework.Layout;component/Styles/Styles.xaml"/>            
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>

    </UserControl.Resources>

    <Grid Keyboard.KeyDown="Control_KeyDown" >

        <Grid.Resources>
            <Image x:Key="FindIcon" Height="16" Width="16" Source="/P2.Cuberry.Modules.Framework.ApplicationConfigurator;component/Images/find16.gif" />
            <Image x:Key="ClearIcon" Height="16" Width="16" Source="/P2.Cuberry.Modules.Framework.ApplicationConfigurator;component/Images/clear.png" />
            <Image x:Key="AddIcon" Height="16" Width="16" Source="/P2.Cuberry.Modules.Framework.ApplicationConfigurator;component/Images/add.png" />
        </Grid.Resources>


        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>

        <Grid.RowDefinitions>
            <RowDefinition Height="25"/>
            <RowDefinition Height="4" />
            <RowDefinition Height="*"/>
            <RowDefinition Height="2" />
        </Grid.RowDefinitions>


        <Menu Grid.Column="0" Grid.Row="0" x:Name="menuMain" Height="25" VerticalAlignment="Top" Background="{DynamicResource MyBlueBackgroundGradientBrush}" >
<!--         <MenuItem Name="btnModuleFind" Margin="0,3,0,0" Header="{Translate ModuleFind}" x:Uid="btnModuleFind" Command="{Binding ModuleFindCommand}" Icon="{StaticResource FindIcon}" Style="{StaticResource P2FindMenuItemStyle}"/>
            <MenuItem Name="btnModuleClr" Margin="0,3,0,0" Header="{Translate ModuleClr}" x:Uid="btnModuleClr" Command="{Binding ModuleClrCommand}" Icon="{StaticResource ClearIcon}" Style="{StaticResource P2FindMenuItemStyle}"/>
            -->
            <MenuItem Name="btnModuleAdd" Margin="2,4,0,2"  Header="{Translate ModuleAdd}" x:Uid="btnModuleAdd" Command="{Binding ModuleAddCommand}" Icon="{StaticResource AddIcon}" Style="{StaticResource P2FindMenuItemStyle}"/>
        </Menu>


    </Grid>
</UserControl>
